﻿using System;
using System.Collections.Generic;

namespace LanqiQAwebapi.Models
{
    public partial class Qa
    {
        public Qa()
        {
            Comments = new HashSet<Comment>();
            Questions = new HashSet<Issue>();
        }
        //回答id
        public int QaId { get; set; }
        //回答人id
        public int? UserId { get; set; }
        //回答问题名称
        public string? Question { get; set; }
        //回答内容
        public string? AnswerContent { get; set; }
        //回答简短概况
        public string? SummaryAnswer { get; set; }
        //赞同数
        public int? AgreeCount { get; set; }

        public virtual User? User { get; set; }
        public virtual ICollection<Comment> Comments { get; set; }
        public virtual ICollection<Issue> Questions { get; set; }
    }
}
